<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="In GaussDB (DWS) 8.1.1, the Restoration Job Fails Due to Network Communication Exceptions">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164597706.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002199998385">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>In GaussDB (DWS) 8.1.1, the Restoration Job Fails Due to Network Communication Exceptions</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002199998385"></a><a name="EN-US_TOPIC_0000002199998385"></a>
  <h1 class="topictitle1">In GaussDB (DWS) 8.1.1, the Restoration Job Fails Due to Network Communication Exceptions</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Fault Symptom</h4>
    <p>In GaussDB (DWS) 8.1.1, a restoration job fails to be executed when the client is installed on the production host and an independent physical server, and a message is displayed indicating that the Roach command fails to be executed.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Possible Cause</h4>
    <p>During data restoration, the communication between some GaussDB (DWS) nodes and RoachClient on the hosts where the client is installed is abnormal.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Suggestion</h4>
    <ol>
     <li><span>Use PuTTY to log in to the CN in the GaussDB (DWS) cluster where the client has been deployed.</span></li>
     <li id="EN-US_TOPIC_0000002199998385__li1047516520486"><a name="EN-US_TOPIC_0000002199998385__li1047516520486"></a><a name="li1047516520486"></a><span>Run the following commands in sequence to switch to the cluster user and load environment variables:</span><p></p><pre class="screen">su - <em>Cluster username</em></pre> <pre class="screen">source <em>Environment variable file path</em></pre> <p></p></li>
     <li id="EN-US_TOPIC_0000002199998385__li17991838125416"><a name="EN-US_TOPIC_0000002199998385__li17991838125416"></a><a name="li17991838125416"></a><span>Run the <strong>cd $GAUSSLOG/ roach/agent/</strong> command to go to the log file directory and check whether the log file whose name starts with <span class="uicontrol"><b>roach_agent</b></span> contains the following error information:</span><p></p><p>Poll failed on read: Socket connection closed or shutdown writing half of connection with error code: Success, socket: 9</p> <p>Example:</p> <p><span><img src="en-us_image_0000002199998505.png"></span></p>
      <ul>
       <li>If error information is displayed, perform the restoration job again.</li>
       <li>If no error information is contained, go to <a href="#EN-US_TOPIC_0000002199998385__li172486231469">4</a>.</li>
      </ul> <p></p></li>
     <li id="EN-US_TOPIC_0000002199998385__li172486231469"><a name="EN-US_TOPIC_0000002199998385__li172486231469"></a><a name="li172486231469"></a><span>Log in to other CNs in the GaussDB (DWS) cluster where the client has been deployed and perform <a href="#EN-US_TOPIC_0000002199998385__li1047516520486">2</a> to <a href="#EN-US_TOPIC_0000002199998385__li17991838125416">3</a>. If no node contains the error information, collect logs and contact Huawei technical support engineers.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002164597706.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>